import request from '@/utils/request'

/**
 * @description 获取重点项目列表
 * @return { Promise }
 */
export function getKeyProjectList(data: Record<string, any>) {
    return request.get({ url: '/key_project/lists', data: data })
}

/**
 * @description 获取重点项目详情
 * @param { number } id
 * @return { Promise }
 */
export function getKeyProjectDetail(data: { id: number }) {
    return request.get({ url: '/key_project/detail', data: data })
}
